package com.njwb.day02;

public class Test15 {
    public static void main(String[] args) {
        /*控制台输出：

        * * * * *
        * * * * *
        * * * * *
        * * * * *
        * * * * *

        System.out.print("不换行输出");
        System.out.println("换行输出");
        */
        //二层循环、循环的嵌套
        for(int j=1;j<=5;j++){
            for (int i=1;i<=5;i++){
                System.out.print("* ");
            }
            System.out.println();
        }
    }
}
